package com.core.ingenium.view.epadilla;


import javax.mail.Authenticator;
import javax.mail.PasswordAuthentication;

public class MailAuthenticator extends Authenticator {
    //agregar aqui el correo y clave del usuario que envia el correo
    private String username = "ingeniump3@gmail.com";
    private String password = "p3ingenium";

    public MailAuthenticator() {
        super();
    }

    @Override
    protected PasswordAuthentication getPasswordAuthentication() {
        return new PasswordAuthentication(username, password);
    }
}
